home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19950528-19950726 / 000146_news@columbia.edu_Thu Jun 15 10:56:14 1995.msg < prev    next >
Internet Message Format  |  2020-01-01  |  5KB

  1. Received: from apakabar.cc.columbia.edu by watsun.cc.columbia.edu with SMTP id AA23146
  2.   (5.65c+CU/IDA-1.4.4/HLK for <kermit.misc@watsun.cc.columbia.edu>); Sun, 18 Jun 1995 06:40:23 -0400
  3. Received: by apakabar.cc.columbia.edu id AA18283
  4.   (5.65c+CU/IDA-1.4.4/HLK for kermit.misc@watsun); Sun, 18 Jun 1995 06:40:21 -0400
  5. Path: news.columbia.edu!spcuna!citicorp.com!uunet!usc!math.ohio-state.edu!uwm.edu!lll-winken.llnl.gov!osi-east2.es.net!oracle.pnl.gov!mica.inel.gov!pmafire!mars.poci.amis.com!cwis.isu.edu!news.cc.utah.edu!news.cs.utah.edu!cc.usu.edu!jrd
  6. From: jrd@cc.usu.edu (Joe Doupnik)
  7. Newsgroups: comp.protocols.kermit.misc
  8. Subject: Re: set carrier on, server ##
  9. Message-Id: <1995Jun15.165614.54075@cc.usu.edu>
  10. Date: 15 Jun 95 16:56:14 MDT
  11. References: <3rptu3$nhr@feenix.metronet.com>
  12. Organization: Utah State University
  13. Lines: 95
  14. Apparently-To: kermit.misc@watsun.cc.columbia.edu
  15.  
  16. In article <3rptu3$nhr@feenix.metronet.com>, brit@metronet.com (Brit Systems) writes:
  17. > I am using MS-Kermit 3.14. 
  18. > I'm running through some scenarios with
  19. > "set carrier on, server" and what happens when you loose the carrier.
  20. > Here is what I get.
  21. > 1) set carrier on, server, break connection, server exits
  22.  
  23.     Yup. The way it ought to be.
  24.  
  25. > 2) set carrier on, server, start getting file, break connection, 
  26. >     file transfer terminates, server waits forever
  27. >         (at least as long as I wanted to wait).
  28.  
  29.     Correct. The current session terminated. Server mode was
  30.     perpetual.
  31.  
  32. > 3) set carrier on, server 120, start getting file, break connection,
  33. >         file transfer terminates, server waits until timeout then exits.
  34.  
  35.     The very last part needs improvment but basically it's ok.
  36.  
  37. > 4) set carrier on, server 120, start getting very big file, 
  38. >     file transfer completes, server exits since it it past timeout.
  39.  
  40.     Yes, that's what the 120 says, be a server for that long.
  41.  
  42. > Specifically on scenario 2 and 3, is this just me?
  43. > And on a related issue.
  44. > 1) dial someone, set carrier on, start sending file, break connection, 
  45. >     file transfer terminates.
  46.  
  47.     Yup. Correct.
  48.  
  49. > 2) don't call anyone, set carrier on, start sending file,
  50. >     file transfer eventually times out.
  51.  
  52.     Never a carrier then no CD drop state, and hence "no problem."
  53.         Head scratching goes here.
  54.  
  55. > It seems that only connect checks if CD before it starts.
  56. > Send, receive, remote and server don't seem to check CD when they start.
  57. > Is this right?
  58.  
  59.     They don't. They have no idea of the state of the comms channel
  60. so they work so long as bytes can be sent or they run out of retries.
  61. See below for more on this part. Again, modems aren't the only way of
  62. talking.
  63.  
  64. > So if I want to check CD myself, what's the best way.
  65. > "wait 0 cd" seems to work but it prints and ugly "?Timeout message".
  66. > \v(carrier) only says what you set carrier to.
  67. > Is there a \v(cd)? I seem to have seen \CD written but don't know
  68. > how to use it.
  69.     No, there isn't. Maybe there should be, but then modem comms
  70. are only one of many comms channels. In addition, testing for CD involves
  71. firing up the serial port and we may not want that to happen.
  72.  
  73. > Thanks again, for the many times ya'll have helped,
  74. > Robbie Barton 
  75. ----------
  76.  
  77.     Let me be candid on this topic.
  78.     From the beginning of MS-DOS Kermit steps were taken to ensure the
  79. program would not fail because some modem wire wasn't high or low. That
  80. philosophy has carried (sic) forward to the present. Kermit is not dependent
  81. on a modem being present and healthy. Near the release time of MSK v3.14 we 
  82. had a very reasonable request to drop connections when CD vanished, and I 
  83. added code to accomplish that task. We got there but just barely.
  84.     For CD dropping to be a failure one must first have CD asserted,
  85. which explains your "don't call anyone" case. There's room to quibble here.
  86.     From your report we see that matters are slightly muddled regarding
  87. what to do when CD drops. The principal reason for the muddle is CD is
  88. a data link item and ought not penetrate into the higher level software
  89. such as protocol stacks etc. There are many other communications pathways
  90. which do not involve CD. In addition, the Kermit file transfer stack has 
  91. automatic retries on failures (from any cause, reasons for failures are 
  92. normally worthless: failed is failed) and they don't know about the comms
  93. link troubles. So retries occur, and server mode is basically a loop with 
  94. retries (with CD off most of the time, of course), and so on. 
  95.     What can we do about this? Not much right now. I'll have to do the 
  96. doing in the next release and try to add CD sensitivity where possible 
  97. without making a hash of the code. It won't be perfect in the sense that
  98. CD dropping kills the program in a flash, as happens to programs totally
  99. dependent on modems, but it will be better than at present. And we need
  100. to explain a little more carefully what terminating a session means versus
  101. exiting server mode completely.
  102.     Thanks,
  103.         Joe D.